const course = [{
  title: '课程管理',
  module: 'course',
  icon: 'edu-icon-course',
  quickbtn: [{
    title: '分类管理',
    path: '/course/category/list',
    meta: {
      permission: 'course.category.list'
    }
  }, {
    title: '新建点播',
    path: '/course/video/create',
    meta: {
      permission: 'course.video.default.create'
    }
  }],
  meta: {
    permission: 'course'
  },
  children: [{
      title: '点播',
      meta: {
        permission: 'course.video'
      },
      children: [{
          title: '已审点播课',
          path: '/course/video/list',
          meta: {
            permission: 'course.video.default'
          }
        }, {
          title: '待审点播课',
          path: '/course/video/examine/list',
          meta: {
            permission: 'course.video.examine'
          }
        }, {
          title: '推荐点播课',
          path: '/course/video/recommend',
          meta: {
            permission: 'course.video.recommend'
          }
        }, {
          title: '跑马灯配置',
          path: '/course/video/marquee',
          meta: {
            permission: 'course.video.marquee'
          }
        }
        // , {
        //   title: '新建点播',
        //   path: '/course/video/create',
        //   meta: {
        //     permission: 'course.video.create'
        //   }
        // }
      ]
    }, {
      title: '直播',
      meta: {
        permission: 'course.live'
      },
      children: [{
          title: '大班课列表',
          path: '/course/live/list',
          meta: {
            permission: 'course.live.large'
          }
        }, {
          title: '推荐大班课',
          path: '/course/live/recommend',
          meta: {
            permission: 'course.live.rec_large'
          }
        },
        // {
        //   title: '新建大班课',
        //   path: '/course/live/create',
        //   meta: {
        //     permission: 'course.live.create'
        //   }
        // },
        {
          title: '小班课列表',
          path: '/course/live/small/list',
          meta: {
            permission: 'course.live.small'
          }
        }, {
          title: '推荐小班课',
          path: '/course/live/small/recommend',
          meta: {
            permission: 'course.live.rec_small'
          }
        },
        // {
        //   title: '新建小班课',
        //   path: '/course/live/small/create',
        //   meta: {
        //     permission: 'course.live.create'
        //   }
        // },
        // {
        //   title: '腾讯直播配置',
        //   path: '/course/live/config/tic',
        //   meta: {
        //     permission: 'course.live.config.tic'
        //   }
        // },
        // {
        //   title: '声网直播配置',
        //   path: '/course/live/config/agora',
        //   meta: {
        //     permission: 'course.live.config.agora'
        //   }
        // },
        // {
        //   title: '声网白板配置',
        //   path: '/course/live/config/netless',
        //   meta: {
        //     permission: 'course.live.config.netless'
        //   }
        // },
        {
          title: '直播配置',
          path: '/course/live/config/cclive',
          meta: {
            permission: 'course.live.config.cclive'
          }
        },
        {
          title: '直播课表',
          path: '/course/live/schedule',
          meta: {
            permission: 'course.live.schedule'
          }
        }
      ]
    }, {
      title: '班级',
      meta: {
        permission: 'course.classes'
      },
      children: [{
          title: '班级课列表',
          path: '/course/classes/list',
          meta: {
            permission: 'course.classes.default'
          }
        }, {
          title: '推荐班级课',
          path: '/course/classes/recommend',
          meta: {
            permission: 'course.classes.recommend'
          }
        }
        // , {
        //   title: '新建班级',
        //   path: '/course/classes/create',
        //   meta: {
        //     permission: 'course.classes.create'
        //   }
        // }
      ]

    },
    // {
    //   title: '面授',
    //   meta: {
    //     permission: 'course.offline'
    //   },
    //   children: [{
    //     title: '面授列表',
    //     path: '/course/offline/list',
    //     meta: {
    //       permission: 'course.offline.list'
    //     }
    //   }, {
    //     title: '新建面授',
    //     path: '/course/offline/create',
    //     meta: {
    //       permission: 'course.offline.create'
    //     }
    //   }]
    // },
    {
      title: '代理',
      meta: {
        permission: 'course.agent'
      },
      children: [{
        title: '代理记录',
        path: '/course/agent/list',
        meta: {
          permission: 'course.agent.list'
        }
      }, {
        title: '代理课程',
        path: '/course/agent/school',
        meta: {
          permission: 'course.agent.school',
          platform_has: 0
        }
      }]
    },
    {
      title: '分类',
      meta: {
        permission: 'course.category'
      },
      children: [{
        title: '分类列表',
        path: '/course/category/list',
        meta: {
          permission: 'course.category.list'
        }
      }]
    }, {
      title: '证书',
      meta: {
        permission: 'course.cert'
      },
      children: [{
        title: '证书配置',
        path: '/course/cert/config',
        meta: {
          permission: 'course.cert.config'
        }
      }]
    },
    {
      title: '课程配置',
      meta: {
        permission: 'course.config'
      },
      children: [{
        title: '课程配置',
        path: '/course/config/commentAndNote',
        meta: {
          permission: 'course.config.comment_note'
        }
      }]
    }
  ]
}]

export default course
